package request

type TmallServicecenterAnomalyrecourseHomedecorationQuestioncodeQueryRequest struct {
	/*
	   服务code     */
	ServiceCode *string `json:"service_code" required:"true" `
}

func (s *TmallServicecenterAnomalyrecourseHomedecorationQuestioncodeQueryRequest) SetServiceCode(v string) *TmallServicecenterAnomalyrecourseHomedecorationQuestioncodeQueryRequest {
	s.ServiceCode = &v
	return s
}

func (req *TmallServicecenterAnomalyrecourseHomedecorationQuestioncodeQueryRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ServiceCode != nil {
		paramMap["service_code"] = *req.ServiceCode
	}
	return paramMap
}

func (req *TmallServicecenterAnomalyrecourseHomedecorationQuestioncodeQueryRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
